CXXFLAGS = -I/usr/include -I.
LDFLAGS = -L/usr/lib `sdl-config --cflags --libs` -lSDL_image -lGL -lGLU

all: main

main: main.o Vertex3D.o Triangle.o Scene.o
main.o: main.cpp Vertex3D.h Triangle.h Scene.h

clean:
	@echo Cleaning up...
	rm -f *~ *.o main
	@echo Done.
